package com.itheima.service;

import com.itheima.excel.StudentModel;
import com.itheima.pojo.PageResult;
import com.itheima.pojo.Student;
import com.itheima.pojo.StudentQueryParam;

import java.util.List;

/**
 * @version 1.0
 * @description 说明
 * @package com.itheima.service
 */
public interface StudentService {
    PageResult<Student> pageQuery(StudentQueryParam studentQueryParam);

    void add(Student student);

    Student getById(Integer id);

    void updateById(Student student);

    void deleteById(Integer id);

    void violation(Integer id, Integer score);

    /**
     * 批量导入学员信息
     * @param students
     * @param clazzId
     */
    void importStuddent(List<StudentModel> students, Integer clazzId);
}
